package com.mine.xpermission;

import android.provider.Settings;

public class PermissionMineUtil {

    public static String getPermissDetailAction(String action) {
        if (action.equals(Settings.ACTION_MANAGE_WRITE_SETTINGS)
                || action.equals(Settings.ACTION_MANAGE_APP_ALL_FILES_ACCESS_PERMISSION)
                || action.equals(Settings.ACTION_MANAGE_UNKNOWN_APP_SOURCES)
                || action.equals(Settings.ACTION_MANAGE_OVERLAY_PERMISSION)) {
            return action;
        }
        return Settings.ACTION_APPLICATION_DETAILS_SETTINGS;
    }

}
